import $ from 'jquery';
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios';
import './layui/css/layui.css';
import layui from './layui/layui.all.js';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';

axios.defaults.baseURL = 'http://localhost:8080/emp_manager';
//cookie设置
axios.defaults.withCredentials = true;

Vue.prototype.$axios = axios;
Vue.use(ElementUI);
Vue.use(Antd)

Vue.config.productionTip = false

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')